package com.banksoft.cps.dao;

import com.banksoft.cps.bean.MonitorValue;
import com.banksoft.cps.bean.query.MonitorValueQuery;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * Created by rongzhao.zhu on 2018/1/10.
 */
@Repository
public interface MonitorValueDao {

    void insert(MonitorValue bean);

    void update(MonitorValue bean);

    List<MonitorValue> list(MonitorValueQuery query);

    long count(MonitorValueQuery query);

    List<MonitorValue> listBySaleOrderIdList(List<String> idList);

    MonitorValue findBySaleOrderId(String saleOrderId);

}
